package com.fcscs.cservice.domain;

import java.math.BigDecimal;

import com.fcscs.core.domain.HistoricalEntity;
import com.fcscs.cservice.common.CServiceCommonEnums.PriceCategoryCodeEnum;

public class InRoomOrderItem extends HistoricalEntity {

	private static final long serialVersionUID = 1L;

	private long oderId;
	private long categoryId;
	private Long subcategoryId;
	private long itemId;
	private int count;
	private String specialNote;
	private PriceCategoryCodeEnum priceCategoryEnum;
	private BigDecimal price;
	private BigDecimal amout;
	private long chargeCategoryId;
	private String chargeCategoryCode;
	private String chargeCategoryName;
	private String chargeCategoryNameSecLang;
	private String chargeCategoryNameThdLang;
	
	@Override
	public DBLoc getDBLoc() {
		return DBLoc.GUEST;
	}

	public long getOderId() {
		return oderId;
	}

	public void setOderId(long oderId) {
		this.oderId = oderId;
	}

	public long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(long categoryId) {
		this.categoryId = categoryId;
	}

	public long getItemId() {
		return itemId;
	}

	public void setItemId(long itemId) {
		this.itemId = itemId;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getSpecialNote() {
		return specialNote;
	}

	public void setSpecialNote(String specialNote) {
		this.specialNote = specialNote;
	}

	public String getPriceCategory() {
		return this.priceCategoryEnum == null ? null : this.priceCategoryEnum.toString();
	}

	public void setPriceCategory(String priceCategory) {
		this.priceCategoryEnum = (priceCategory == null || "".equals(priceCategory.trim())) ? null
				: PriceCategoryCodeEnum.valueOf(priceCategory);
	}

	public PriceCategoryCodeEnum getPriceCategoryEnum() {
		return priceCategoryEnum;
	}

	public void setPriceCategoryEnum(PriceCategoryCodeEnum priceCategoryEnum) {
		this.priceCategoryEnum = priceCategoryEnum;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getAmout() {
		return amout;
	}

	public void setAmout(BigDecimal amout) {
		this.amout = amout;
	}

	public long getChargeCategoryId() {
		return chargeCategoryId;
	}

	public void setChargeCategoryId(long chargeCategoryId) {
		this.chargeCategoryId = chargeCategoryId;
	}

	public String getChargeCategoryCode() {
		return chargeCategoryCode;
	}

	public void setChargeCategoryCode(String chargeCategoryCode) {
		this.chargeCategoryCode = chargeCategoryCode;
	}

	public String getChargeCategoryName() {
		return chargeCategoryName;
	}

	public void setChargeCategoryName(String chargeCategoryName) {
		this.chargeCategoryName = chargeCategoryName;
	}

	public String getChargeCategoryNameSecLang() {
		return chargeCategoryNameSecLang;
	}

	public void setChargeCategoryNameSecLang(String chargeCategoryNameSecLang) {
		this.chargeCategoryNameSecLang = chargeCategoryNameSecLang;
	}

	public String getChargeCategoryNameThdLang() {
		return chargeCategoryNameThdLang;
	}

	public void setChargeCategoryNameThdLang(String chargeCategoryNameThdLang) {
		this.chargeCategoryNameThdLang = chargeCategoryNameThdLang;
	}

	public Long getSubcategoryId() {
		return subcategoryId;
	}

	public void setSubcategoryId(Long subcategoryId) {
		this.subcategoryId = subcategoryId;
	}
}
